<template>
  <div>
    <button @click="login">{{massage}}</button>
<!--    <button @click="">{{re_massage}}</button>-->
  </div>
</template>

<script>
  export default {
    name: "btn",
    props: ['massage'],
    data: function () {
          return{
            name:''
          }
    },
    methods: {
      login: function () {
        console.log(777)
          this.$emit('login')
      }
    }
  }
</script>

<style scoped>
  button {
    margin-top: 20px;
    background-image: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
    height: 40px;
    width: 80px;
    border-radius: 18px;
    outline: none;
    border: none;
    color: white;
    transition: all 0.3s;
  }

  button:hover {
    transform: scale(1.1);
  }
</style>
